﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Fanfou
{
    public static class AppString
    {
        public static bool isChinese = false;

        public static string SYSTEM_MENU { get; private set; }

        public static string SYSTEM_TITLE { get; private set; }

        public static string SYSTEM_CURRENT_USER { get; private set; }

        public static string SYSTEM_SCREEN_CURRENT_RESOLUTION { get; private set; }

        public static string SYSTEM_USER_COMMAND { get; private set; }

        public static string SYSTEM_USER_SET_RESOLUTION { get; private set; }

        public static string SYSTEM_LOGIN_WELCOME { get; private set; }

        public static string SYSTEM_LOGIN_USERNAME { get; private set; }

        public static string SYSTEM_LOGIN_PASSWORD { get; private set; }

        public static string SYSTEM_LOGIN_FAIL { get; private set; }

        public static string SYSTEM_SET_LANGUAGE { get; private set; }

        public static string USER_POST { get; private set; }

        public static string USER_OPERATION_SUCCEED { get; private set; }

        public static string USER_OPERATION_FAIL { get; private set; }

        public static string USER_TIMELINE { get; private set; }

        public static string USER_RECENT_NEWS { get; private set; }

        public static string USER_FRIENDS { get; private set; }


        public static void SetAppString()
        {
            if (isChinese)
            {
                SYSTEM_MENU = "1. 发送消息  2. 最近我说  3. 朋友们说  4. 好友列表  5. 语言设置  6. 屏幕设置  0. 离开";
                SYSTEM_USER_COMMAND = "输入指令(0-6): ";
                SYSTEM_SCREEN_CURRENT_RESOLUTION = " [当前]";
                SYSTEM_USER_SET_RESOLUTION = "设置窗体: 1. 窄(100){0}  2.普通(120){1}  3.宽(150){2} ";
                SYSTEM_LOGIN_WELCOME = "欢迎使用 嘿！米饭";
                SYSTEM_LOGIN_USERNAME = "用户名: ";
                SYSTEM_LOGIN_PASSWORD = "密码: ";
                USER_POST = "说点啥... (140个字符，回车键发送): ";
                USER_OPERATION_SUCCEED = "发送成功，任意键继续";
                USER_OPERATION_FAIL = "发送失败，任意键继续";
                USER_TIMELINE = "我的朋友们最近说: ";
                USER_RECENT_NEWS = "最近的消息: ";
                USER_FRIENDS = "好友列表: ";
                SYSTEM_TITLE = "|     嘿！米饭  v1.0.1.1   A fanfou.com via console      |";
                SYSTEM_CURRENT_USER = "嘿！米饭 使用中, 当前用户: ";
                SYSTEM_SET_LANGUAGE = "设置语言: 1. 英语  2.中文";
                SYSTEM_LOGIN_FAIL = "用户名或者密码不正确...请重试";
            }
            else if (!isChinese)
            {
                SYSTEM_MENU = "1. Post  2. Profile  3. Timeline  4. Friend List  5. Language  6. Screen  0. Exit";
                SYSTEM_USER_COMMAND = "Your Command(0-6): ";
                SYSTEM_SCREEN_CURRENT_RESOLUTION = " [Current]";
                SYSTEM_USER_SET_RESOLUTION = "Set window: 1. Narrow(100){0}  2.Normal(120){1}  3.Wide(150){2} ";
                SYSTEM_LOGIN_WELCOME = "Welcome to HeyRice";
                SYSTEM_LOGIN_USERNAME = "Username: ";
                SYSTEM_LOGIN_PASSWORD = "Password: ";
                USER_POST = "What are you thinking about? (140 charts，press Enter to post): ";
                USER_OPERATION_SUCCEED = "Complete, press any key to continue";
                USER_OPERATION_FAIL = "Fail，press any key to continue";
                USER_TIMELINE = "Friends' updates: ";
                USER_RECENT_NEWS = "Recent News: ";
                SYSTEM_TITLE = "|     HeyRice   v1.0.1.1   A fanfou.com via console      |";
                SYSTEM_CURRENT_USER = "Current User: ";
                SYSTEM_SET_LANGUAGE = "Set Language: 1. English  2.Chinese";
                SYSTEM_LOGIN_FAIL = "Incorrect username or password, please retry.";
            }
        }
    }
}
